Northwoods.GoSilverlight 1.3.5 Assembly
DoMemberNodeKeyAdded Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoMemberNodeKeyAdded Method

nodedata
the modified node data
memberkey
the key for the added "member" node data
This should be called when a "member" node data key has been added to the collection of "member" node keys.

Syntax

Visual Basic (Declaration) 
Public Sub DoMemberNodeKeyAdded( _
   ByVal nodedata As NodeType, _
   ByVal memberkey As NodeKey _
) 
C# 
public void DoMemberNodeKeyAdded( 
   NodeType nodedata,
   NodeKey memberkey
)

Parameters

nodedata
the modified node data
memberkey
the key for the added "member" node data

Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the list of "member" keys implements System.Collections.Specialized.INotifyCollectionChanged the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindMemberNodeKeysForNode has changed.

This raises a Changed event with a value of ModelChange.AddedMemberNodeKey.

Requirements

See Also

© 2012 All Rights Reserved.